package com.hyt.it.ogt.ks.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hyt.it.ogt.ks.model.entity.CandidateLogAnswer;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 轨迹表-答案轨迹表 Mapper 接口
 * </p>
 *
 * @author liteng
 * @since 2022-11-22
 */
public interface CandidateLogAnswerMapper extends BaseMapper<CandidateLogAnswer> {

    Integer getCountByExamId(@Param("examId") String examId);

    List<CandidateLogAnswer> findListByExamId(@Param("examId") String examId, @Param("startIndex") Long startIndex, @Param("pageSize") Long pageSize);

    Integer getCountByAll();

    List<CandidateLogAnswer> findListByAll(@Param("startIndex") Long startIndex, @Param("pageSize") Long pageSize);

}
